package com.xht.service.impl;

import com.xht.dao.UserDao;
import com.xht.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

@Component
public class UserServiceImpl implements UserService {

    @Autowired
    private UserDao userDao;

    @Override
    public void getUserName() {
        System.out.println(userDao);
        userDao.getUserName();
    }
}
